<?php

namespace app\admin\controller\buddha;

use app\common\controller\AdminController;
use EasyAdmin\annotation\ControllerAnnotation;
use EasyAdmin\annotation\NodeAnotation;
use think\App;

/**
 * @ControllerAnnotation(title="buddha_article_index")
 */
class ArticleIndex extends AdminController
{

    use \app\admin\traits\Curd;
    protected string $field = "*";

    public function __construct(App $app)
    {
        parent::__construct($app);

        $this->model = new \app\admin\model\BuddhaArticleIndex();
        
        $this->assign('getStatusList', $this->model->getStatusList());
        $this->field = "*,article_id as getArticle";
    }
}